<template>
  <div class="layout-container">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="main">
      <slot></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped lang="less">
.layout-container {
    display: flex;
    height: 100%;
    width: 100%;
    .left{
        flex: 0 0 auto;
        height: 100%;
    }
    .main{
        flex: 1 1 auto;
        height: 100%;
        overflow: hidden;
    }
    .right{
        flex: 0 0 auto;
        height: 100%;
    }
}
</style>